home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_1
/
doorlist.zip
/
DOORLIST.DOC
< prev
next >
Wrap
Text File
|
1991-01-28
|
6KB
|
154 lines
DOORLIST 1.0 : a method to keep your callers current on their games in progress
first of many SYSOP utilities coming from ...
╔╦╦════[] 007LZ PCBoard 14.5/E6 7d, 24h []════╦╦╗
║║║ ║║║
╔════╩╩╝ (313) 535-0881 . Hayes Ultra v.32 . dos files ╚╩╩════╗
╔════╩╩╝ (313) 535-0882 . Hayes vsm9600 mnp . graphics ╚╩╩════╗
╔════╩╩╝ (313) 535-0883 . Hayes vsm9600 mnp . games ╚╩╩════╗
╔════╩╩╝ system nodes 4-6 are private access subscription only ╚╩╩════╗
║ ║
║ [] Sponsored by GGM Data Gnome Group Meetings - Done At Times Available [] ║
║ and other Computer Stuff too! ║
║ ║
╚════╦╦╗ (313) 535-0880 . office .. hours by appointment ╔╦╦════╝
║║║ ║║║
╚╩╩══════════════════════════[] 'O O` []══════════════════════════╩╩╝
[] ^^^ []
[][[[-]]][]
LEGAL STUFF : (to the tune of row row row your boat)
Wrote Wrote Wrote the code, strictly for myself;
should you use it and you choose it, then you're own your own
REGISTRATION : this program is free, but .... if you use it
please let me know how far it gets by ringing
into the system as described above.
HOW TO USE IT :
DOORLIST was written and compiled using QuickBasic 4.5, and needs BRUN45.exe
available to it, either in the current directory, or the DOS path.
The batch files that start a door from your BBS should look something like this
@echo off
cls
echo THIS DOOR > just.now rem add this line, The file name and location is
rem configurable, see below concerning .cfg file
cd\doordir
doorprog
cd\bbs
bbs
Enter the program DOORLIST into the batch file that calls the BBS program when
returning from a door, or into a secondary return call.. The PCBoard BOARD.BAT
that I use looks something like this just before restarting the system ...
...
cd\pcb
if exist door.bat call backdoor.bat
pcboard
...
the backdoor.bat called there looks in part like this ...
...
if exist just.now goto showlist
goto normalexit
:showlist
doorlist
type uplayed.lst > com1
del uplayed.lst
:normalexit
...
The DOORLIST program will read C:\PCB\PCBOARD.SYS and extracts user number of
current caller (lets say it is user #26). It then looks for a file called
C:\DOORS\26.GGM, Should that file not be found, it will be created.
It knows what door has just been entered from the file JUST.NOW created (we did
do that, right?) in the current directory by each of the door startup.bat files.
If it does not find JUST.NOW, the program will abort politely.
DOORLIST will then compare the current door with the list of other doors that
the caller has entered, and updates the one just played with current date and
time. While doing this, DOORLIST also creates the file UPLAYED.LST in the
current directory. This file, consisting of other doors used - date & time,
can be displayed to the caller before returning to the BBS system, as a logon
bulletin, message, or however the SYSOP would like. I display it to a caller
before returning to PC Board, and then it is deleted.
Simple, but effective.
CONFIGURATION :
When you run DOORLIST, it is not required, but you may append a fully qualified
filename for a config file. That file must be in the following form ... which
by the way, are the hardcoded defaults, and used if there is no .cfg specified.
C:\PCB\PCBOARD.SYS : where to find PCBOARD.SYS
C:\DOORS\ : where to find and store the callers lists
.GGM : the extension to use for that file
C:\PCB\JUST.NOW : where to find the current door identification file
C:\PCB\UPLAYED.LST : file name to create that will be shown to caller
STABILITY :
There is some minor error correction done, but remember ...
GARBAGE IN ...GARBAGE OUT
...if you pass DOORLIST something it cannot use ... results will be more than
unpredictable. It works fine here with the defaults.
BELLS & WHISTLES :
None whatsoever, if you want to append a header or footer to the file displays,
help yourself. You got a free engine, the chrome is of your own design.
OTHER SYSTEMS :
If you are using a system other than PC Board (why would you?) and can run a
preprocessor on your caller information file (CALLINFO.BBS, DORINFOx.DEF, etc)
to create a temporary PCBOARD.SYS (or other file name as per configuration of
your choice) that * DOES CONTAIN THE UNIQUE USERNUMBER FOR THAT CALLER * it is
possible to use DOORLIST with other BBS system. I have not tried it, so good
luck. :)
ETC :
Utility is first attempt at authoring for public distribution . need I say more?
Good luck, and I would really like to hear if this is working for you. As it is
indeed a hassle when callers start a game, but do not call in to make or take
their moves for a good amount of time, disrupting the flow of games, this is a
method of keeping your callers up to date whenever they enter a door on your
system.
SYSOP can also from the files created ...
**gain greater insight to usage of board as the callers files provide an
extended log of activity that can be processed
**find out who entered a game, but have never called back at all
thereby allowing greater maintenance levels on existing unused doors.
**determine which doors are most popular, and the flip side
ENJOY! ...
Gary Groeller, sysop 007LZ (313) 535 0881